<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 10358
  Date: 2019/8/24
  Time: 13:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<form class="form-horizontal" role="form" id="productSale" action="../product/doPutaway.do" method="post">
    <input type="hidden" name="prodNo" value="${requestScope.prodSal.prodNo}">
    <%--<input type="text" name="salerId" value="${requestScope.prodSal.salerId}">--%>
    <input type="hidden" name="stkId" value="${requestScope.prodSal.stkId}">
    <!-- 模态框头部 -->
    <div class="modal-header">
        <h3 class="modal-title" style="float: left">商品上架</h3>
        <button type="button" class="close" data-dismiss="modal" style="float: right">&times;</button>
    </div>

    <!-- 模态框主体 -->
    <div class="modal-body" style="font-size: 14px">
        <div class="form-group">
            <label for="realPrice" class="col-md-3 control-label">一口价</label>
            <div class="col-md-8">
                <input type="text" class="form-control" id="realPrice" name="realPrice" placeholder="请输入一口价" required>
            </div>
        </div>
        <div class="form-group">
            <label for="carriage" class="col-md-3 control-label">运费</label>
            <div class="col-md-8">
                <input type="text" class="form-control" id="carriage" name="carriage" placeholder="请输入运费" required>
            </div>
        </div>
        <div class="form-group">
            <label for="starTime" class="col-md-3 control-label">开始售卖时间</label>
            <div class="col-md-8">
                <input type="date" class="form-control" id="starTime" name="starTime">
            </div>
        </div>
        <div class="form-group">
            <label for="endTime" class="col-md-3 control-label">结束售卖时间</label>
            <div class="col-md-8">
                <input type="date" class="form-control" id="endTime" name="endTime">
            </div>
        </div>
        <div class="form-group">
            <label for="prodSkin" class="col-md-3 control-label">商品外观</label>
            <div class="col-md-8">
                <select class="form-control" name="prodSkin" id="prodSkin" required>
                    <option value="全新">全新</option>
                    <option value="二手">二手</option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label for="location" class="col-md-3 control-label">所在地</label>
            <div class="col-md-8">
                <input type="text" class="form-control" id="location" name="location" placeholder="请输入所在地" required>
            </div>
        </div>
    </div>

    <!-- 模态框底部 -->
    <div class="modal-footer">
        <button type="button" class="btn btn-default btn-sm" data-dismiss="modal">关闭</button>
        <button type="submit" class="btn btn-primary btn-sm" >提交</button>
    </div>
</form>